package com.yand.mapper.business.order;

import com.yand.api.entity.business.custom.THfStudent;
import com.yand.api.entity.business.order.THfOrder;
import org.apache.ibatis.annotations.Mapper;

import java.util.List;
import java.util.Map;


/**
 * 订单相关mapper
 */
@Mapper
public interface THfOrderMapper {
    int deleteByPrimaryKey(Integer id);

    int insert(THfOrder record);

    int insertSelective(THfOrder record);

    THfOrder selectByPrimaryKey(Integer id);

    int updateByPrimaryKeySelective(THfOrder record);

    int updateByPrimaryKey(THfOrder record);

    List<THfOrder> selectAllOrderList(THfOrder record);

    void updateOrderStatus(Map<String, Object> param);

    THfOrder selectOrderByOther(Map<String, Object> param);
}